#include "EpilFieldKeyInitializerCode.h"


EpilFieldKeyInitializerCode::EpilFieldKeyInitializerCode( const EpilLexLocation & location )
: EpilFieldRecordInitializerCodeBase( location )
{
}


EpilFieldKeyInitializerCode::~EpilFieldKeyInitializerCode()
{
}


tstring EpilFieldKeyInitializerCode::ToEpilCode( int indent ) const
{
	tstringstream ret;
	ret << m_key;
	ret << t(" = ");
	ret << this->GetExpression()->ToEpilCode();
	return ret.str();
}